Phong Projection in Higher Dimensions
نویسندگان
چکیده
We supplement our paper Weighted Averages on Surfaces [1] with technical details, additional intuition, and proofs related to Phong projection. We also show how our generalized barycentric coordinates reduce to Moving Least Squares over Euclidean space. The motivation and applications of Phong projection are discussed in the paper [1]. 1 Phong projection Let M = (V, E ,F) be a triangle mesh with vertices V ⊂ R. Each vertex has an associated tangent plane (taken e.g. from the Loop limit surface), represented by two basis vectors, which we assume to be orthonormal. Consider a triangle with vertices v1,v2,v3 and denote the tangent planes at these vertices as T1, T2, T3 ∈ R2×D. Let Ψ(ξ1, ξ2, ξ3) be an interpolated basis for the tangent plane at the point on the triangle with barycentric coordinates ξ1, ξ2, ξ3. The function Ψ : R → R2×D must continuously interpolate the tangent planes to the triangle interiors over the entire mesh. Defining Ψ is a non-trivial task (which we will tackle later) because a tangent plane can be specified using different bases, while the interpolant should be independent of this choice of basis and also consistent on edges and vertices shared by multiple triangles. Once we do have such a Ψ, we can define Phong projection, as in the paper: Definition 1.1. A point p̂ = ξ1v1 + ξ2v2 + ξ3v3 on triangle t with vertices vi is a Phong projection of p ∈ R if: Ψ(ξ1, ξ2, ξ3) (ξ1v1 + ξ2v2 + ξ3v3 − p) = 0, (1) ξ1 + ξ2 + ξ3 = 1, (2) ξi ≥ 0. (3) Definition 1.2. The Phong projection of a point p onto a triangle mesh M is the closest Phong projection with respect to every triangle of M. Note that the Phong projection onto even a single triangle is generally not unique. Consider the affine subspace through v1 orthogonal to T1. All points in that subspace project to v1. If the intersection between this subspace and the analogous one for v2 is not empty (as will generally happen for D ≥ 4), both v1 and v2 will be Phong projections of points in the intersection. In the paper, we provide experimental evidence that for reasonable meshes and points p close to the mesh, this does not happen; when it does, we break ties arbitrarily. Also, unlike Euclidean projection, Phong projection might not exist at all. In Section 3 of this document, we give an outline of how one might prove that for well-tessellated meshes Phong projection is guaranteed to exist for points p close to the mesh. The remainder of this document is organized as follows. In Sections 1.1-1.4 we deal with tangent plane interpolation and define Ψ, first for mesh edges and then for triangle interiors. Section 2 shows that Ψ is continuous under some mild conditions. In Section 3 we give an informal sketch of how to prove that the Phong projection based on Ψ is well-defined. Throughout these sections, we use some simple algebraic results;
منابع مشابه
Rendering multi-perspective images with trilinear projection
Non-linear projections of 3D graphical scenes can be used to compute reflections and refractions in curved surfaces, draw artistic images in the style of Escher or Picasso, and produce visualizations of complex data. Previously, most non-linear projections were rendered by ray tracing. This paper presents trilinear projection, a technique for rendering non-linear projections in a manner that ac...
متن کاملOscillatory Integral Operators with Homogeneous Polynomial Phases in Several Variables
We obtain L decay estimates in λ for oscillatory integral operators Tλ whose phase functions are homogeneous polynomials of degree m and satisfy various genericity assumptions. The decay rates obtained are optimal in the case of (2+2)–dimensions for any m, while in higher dimensions the result is sharp for m sufficiently large. The proof for large m follows from essentially algebraic considerat...
متن کاملVolume and Isosurface Rendering with GPU-Accelerated Cell Projection*
We present an efficient GPU-based implementation of the Projected Tetrahedra (PT) algorithm. By reducing most of the CPU–GPU data transfer, the algorithm achieves interactive frame rates (up to 2.0 M Tets/s) on current graphics hardware. Since no topology information is stored, it requires substantially less memory than recent interactive ray casting approaches. The method uses a two-pass gpu a...
متن کاملImproved Specular Highlights With Adaptive Shading
the interior pixel colors from the vertex colors. Phong . Gouraud shading and Phong shading are widely used interpolation methods to render a polygon mesh of a curved surface. When an illumination equation has a specular reflection term, Phong shading produces more realistic results than does Gouraud shading. The specular highlights produced by Phong shading give visual information about surfac...
متن کاملA New Shape from Shading Approach for Specular Surfaces
Shape recovery is a basic problem in computer vision. Shape from shading (SFS) is an approach to get the 3D shape from a single shading image. Diffuse model is usually used to approximate the surface reflectance property. For specular surfaces, however, it is not suitable. In this paper, we propose a new SFS approach for specular surfaces. The Blinn-Phong reflectance model is applied to charact...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013